/**
 * output package name
 */
package com.kingdee.eas.basedata.master.material;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class EquipmentPropertyEnum extends IntEnum
{
    public static final int DEFAULT_VALUE = -1;
    public static final int EQUIPMENT_VALUE = 0;
    public static final int SPARE_PART_VALUE = 1;
    public static final int TOOL_VALUE = 2;

    public static final EquipmentPropertyEnum DEFAULT = new EquipmentPropertyEnum("DEFAULT", DEFAULT_VALUE);
    public static final EquipmentPropertyEnum EQUIPMENT = new EquipmentPropertyEnum("EQUIPMENT", EQUIPMENT_VALUE);
    public static final EquipmentPropertyEnum SPARE_PART = new EquipmentPropertyEnum("SPARE_PART", SPARE_PART_VALUE);
    public static final EquipmentPropertyEnum TOOL = new EquipmentPropertyEnum("TOOL", TOOL_VALUE);

    /**
     * construct function
     * @param integer equipmentPropertyEnum
     */
    private EquipmentPropertyEnum(String name, int equipmentPropertyEnum)
    {
        super(name, equipmentPropertyEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static EquipmentPropertyEnum getEnum(String equipmentPropertyEnum)
    {
        return (EquipmentPropertyEnum)getEnum(EquipmentPropertyEnum.class, equipmentPropertyEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static EquipmentPropertyEnum getEnum(int equipmentPropertyEnum)
    {
        return (EquipmentPropertyEnum)getEnum(EquipmentPropertyEnum.class, equipmentPropertyEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(EquipmentPropertyEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(EquipmentPropertyEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(EquipmentPropertyEnum.class);
    }
}